package com.my_test.webmagic.module.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author
 * @since 2019-05-23
 */
@TableName("tiezi")
public class Tiezi extends Model<Tiezi> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id")
    private Long id;


    @TableField("tiezi_id")
    private Long tieziId;

    @TableField("title")
    private String title;

    @TableField("author_name")
    private String authorName;

    @TableField("author_nickname")
    private String authorNickname;

    @TableField("author_portrait")
    private String authorPortrait;

    @TableField("first_post_id")
    private Long firstPostId;

    @TableField("reply_num")
    private Integer replyNum;

    @TableField("is_bakan")
    private Boolean isBakan;

    @TableField("vid")
    private String vid;

    @TableField("is_good")
    private Boolean isGood;

    @TableField("is_top")
    private Boolean isTop;

    @TableField("is_protal")
    private Boolean isProtal;

    @TableField("is_membertop")
    private Boolean isMembertop;

    @TableField("is_multi_forum")
    private Boolean isMultiForum;

    @TableField("frs_tpoint")
    private Integer frsTpoint;


    @TableField("tieba_mark")
    private String tiebaMark;



    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTieziId() {
        return tieziId;
    }

    public void setTieziId(Long tieziId) {
        this.tieziId = tieziId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthorName() {
        return authorName;
    }

    public void setAuthorName(String authorName) {
        this.authorName = authorName;
    }

    public String getAuthorNickname() {
        return authorNickname;
    }

    public void setAuthorNickname(String authorNickname) {
        this.authorNickname = authorNickname;
    }

    public String getAuthorPortrait() {
        return authorPortrait;
    }

    public void setAuthorPortrait(String authorPortrait) {
        this.authorPortrait = authorPortrait;
    }

    public Long getFirstPostId() {
        return firstPostId;
    }

    public void setFirstPostId(Long firstPostId) {
        this.firstPostId = firstPostId;
    }

    public Integer getReplyNum() {
        return replyNum;
    }

    public void setReplyNum(Integer replyNum) {
        this.replyNum = replyNum;
    }

    public Boolean getBakan() {
        return isBakan;
    }

    public void setBakan(Boolean isBakan) {
        this.isBakan = isBakan;
    }

    public String getVid() {
        return vid;
    }

    public void setVid(String vid) {
        this.vid = vid;
    }

    public Boolean getGood() {
        return isGood;
    }

    public void setGood(Boolean isGood) {
        this.isGood = isGood;
    }

    public Boolean getTop() {
        return isTop;
    }

    public void setTop(Boolean isTop) {
        this.isTop = isTop;
    }

    public Boolean getProtal() {
        return isProtal;
    }

    public void setProtal(Boolean isProtal) {
        this.isProtal = isProtal;
    }

    public Boolean getMembertop() {
        return isMembertop;
    }

    public void setMembertop(Boolean isMembertop) {
        this.isMembertop = isMembertop;
    }

    public Boolean getMultiForum() {
        return isMultiForum;
    }

    public void setMultiForum(Boolean isMultiForum) {
        this.isMultiForum = isMultiForum;
    }

    public Integer getFrsTpoint() {
        return frsTpoint;
    }

    public void setFrsTpoint(Integer frsTpoint) {
        this.frsTpoint = frsTpoint;
    }

    public String getTiebaMark() {
        return tiebaMark;
    }

    public void setTiebaMark(String tiebaMark) {
        this.tiebaMark = tiebaMark;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "TieziEntity{" +
                "id=" + id +
                ", authorName=" + authorName +
                ", authorNickname=" + authorNickname +
                ", authorPortrait=" + authorPortrait +
                ", firstPostId=" + firstPostId +
                ", replyNum=" + replyNum +
                ", isBakan=" + isBakan +
                ", vid=" + vid +
                ", isGood=" + isGood +
                ", isTop=" + isTop +
                ", isProtal=" + isProtal +
                ", isMembertop=" + isMembertop +
                ", isMultiForum=" + isMultiForum +
                ", frsTpoint=" + frsTpoint +
                "}";
    }
}
